ModemPreset

enum ModemPreset : ProtocolMessageEnum

Standard predefined channel settings
Note: these mappings must match ModemPreset Choice in the device code.
Protobuf enum meshtastic.Config.LoRaConfig.ModemPreset

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Long Range - Fast
LONG_FAST = 0;
Link copied to clipboard

Long Range - Moderately Fast
LONG_MODERATE = 7;
Link copied to clipboard

Long Range - Slow
LONG_SLOW = 1;
Link copied to clipboard

Medium Range - Fast
MEDIUM_FAST = 4;
Link copied to clipboard

Medium Range - Slow
MEDIUM_SLOW = 3;
Link copied to clipboard

Short Range - Fast
SHORT_FAST = 6;
Link copied to clipboard

Short Range - Slow
SHORT_SLOW = 5;
Link copied to clipboard

Short Range - Turbo
This is the fastest preset and the only one with 500kHz bandwidth.
It is not legal to use in all regions due to this wider bandwidth.
SHORT_TURBO = 8;
Link copied to clipboard

Very Long Range - Slow
Deprecated in 2.5: Works only with txco and is unusably slow
VERY_LONG_SLOW = 2 [deprecated = true];

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ConfigProtos.Config.LoRaConfig.ModemPreset

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.